LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_ARM_MODE := arm
OPTS := -O3 -ffast-math

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/include \
    $(LIBA_INCLUDE) \
    $(BOX2D_INCLUDE)

LOCAL_CFLAGS := $(OPTS)
LOCAL_LDFLAGS := -Wl,-Map=app.map

LOCAL_MODULE := physics

LOCAL_SRC_FILES := \
           sources/Box.cpp \
           sources/Box2DDebugRenderer.cpp \
           sources/Circle.cpp \
           sources/DistanceJoint.cpp \
           sources/Joint.cpp \
           sources/MouseJoint.cpp \
           sources/Node.cpp \
           sources/RevoluteJoint.cpp \
           sources/ShapeLoader.cpp \
           sources/UnknownJoint.cpp \
           sources/ValueLoader.cpp \
           sources/World.cpp

include $(BUILD_STATIC_LIBRARY)
